//
//  DoubanTableViewCell.m
//  UI13_豆瓣
//
//  Created by dllo on 16/3/25.
//  Copyright © 2016年 XWH. All rights reserved.
//

#import "DoubanTableViewCell.h"
#import "UIImageView+WebCache.h"
@implementation DoubanTableViewCell






-(void)setModel:(DouBanModel *)model{
    
//    self.model = model;
    [self.pictureView sd_setImageWithURL:[NSURL URLWithString: model.image_hlarge]];
    
    self.titleLable.text = model.title;
    self.titleLable.adjustsFontSizeToFitWidth = YES;
    self.detilLable.text = model.content;
    self.detilLable.numberOfLines = 0;
//    self.detilLable.adjustsFontSizeToFitWidth = YES;
}


- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)dealloc {
    [_titleLable release];
    [_detilLable release];
    [_pictureView release];
    [super dealloc];
}
@end
